var limsPjMethod = Gikam.getPageObject({

    getEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            field: 'methodCode',
            title: 'T_LIMS_PJ_METHOD.METHODCODE'
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_PJ_METHOD.METHODDESC'
        }, {
            field: 'methodType',
            title: 'T_LIMS_PJ_METHOD.METHODTYPE'
        }];
    },

    getBaseInfoFormFields: function () {
        return [{
            field: 'methodCode',
            title: 'T_LIMS_PJ_METHOD.METHODCODE',
            validators: ['strLength[0,22]']
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_PJ_METHOD.METHODDESC',
            validators: ['strLength[0,100]']
        }, {
            field: 'methodType',
            title: 'T_LIMS_PJ_METHOD.METHODTYPE',
            validators: ['strLength[0,22]']
        },];
    },

    getChooseListColumns: function () {
        return [{index: true}, {
            field: 'methodCode',
            title: 'T_LIMS_PJ_METHOD.METHODCODE'
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_PJ_METHOD.METHODDESC'
        }, {
            field: 'methodType',
            title: 'T_LIMS_PJ_METHOD.METHODTYPE',
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'pjMethodCategory'
            }
        },]
    },

    baseUrl: IFM_CONTEXT + '/secure/basemodule/coredata/pj-methods'
});
